package Entity;

import java.sql.Date;
import java.util.ArrayList;

public class Template {
	//constructors
	public Template(){}
	public Template(String templateId, Date startDate, Date endDate,
			String description, ArrayList<Product> includedProducts) {
		TemplateId = templateId;
		StartDate = startDate;
		EndDate = endDate;
		Description = description;
		IncludedProducts = includedProducts;
	}

	private String TemplateId;//template id
	private Date StartDate;//Marketing Template start date
	private Date EndDate;//Marketing Template end date
	private String Description;//description of template
	private ArrayList<Product> IncludedProducts;//arraylist of products in this template
	
	public String getTemplateId() {//getter of template id
		return TemplateId;
	}
	public void setTemplateId(String tid) {//setter of template it
		TemplateId = tid;
	}
	public Date getStartDate() {//get start date
		return StartDate;
	}
	public void setStartDate(Date startDate) {//set start date
		StartDate = startDate;
	}
	public Date getEndDate() {//get end date
		return EndDate;
	}
	public void setEndDate(Date endDate) {//set end date
		EndDate = endDate;
	}
	public String getDescription() {//get description
		return Description;
	}
	public void setDescription(String description) {//set description
		Description = description;
	}
	public ArrayList<Product> getIncludedProducts() {//getter of products in template arraylist
		return IncludedProducts;
	}
	public void setProducts(ArrayList<Product> includedProducts) {
		IncludedProducts = includedProducts;
	}
}

